﻿<phone:PhoneApplicationPage 
    x:Class="QuickTasks.Views.CompleteTaskDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
     xmlns:ScrollableTextBlock="clr-namespace:ScrollTextBlock;assembly=ScrollableTextBlock"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI" 
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="0,17,0,28">
            <TextBlock x:Name="ApplicationTitle"  Text="QUICK TASKS - TASK DETAIL" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal" Grid.Row="0">
                <TextBlock Text="Name :" FontSize="28" />
                <TextBlock x:Name="tbxName" Width="310"  FontSize="28" Margin="60,0,0,0" TextWrapping="Wrap"/>
            </StackPanel>
           
            <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="0,5,0,0">
                <TextBlock Text="Category :"  FontSize="28"/>
                <TextBlock x:Name="tbxCatagiry"  Width="310" Height="100" FontSize="28" Margin="20,0,0,0" TextWrapping="Wrap" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0,5,0,0">
                <TextBlock Text="Completed Date :"  FontSize="28"/>
                <!--<toolkit:DatePicker x:Name="dpicdate" Width="160" FontSize="28" Margin="50,-10,0,0" />-->
                <TextBlock x:Name="tblkdatepic" Margin="30,0,0,0"  FontSize="28"/>
            </StackPanel>
            <StackPanel Orientation="Vertical" Grid.Row="3" Margin="0,20,0,0">
                <TextBlock Text="Description :"  FontSize="28"  />
                <!--<TextBlock x:Name="tbxDescription" FontSize="28" Height="200" TextWrapping="Wrap" />-->
                <ScrollableTextBlock:ScrollableTextBlock  x:Name="tblkDescription" Width="457"  MinHeight="330"  Margin="0,10,0,10" />
            </StackPanel>
          
  
        </Grid>
        <StackPanel Name="adstackpanel" Grid.Row="2" VerticalAlignment="Bottom" Margin="-15,32,0,0"></StackPanel>
    </Grid>


</phone:PhoneApplicationPage>
